import request from "./http";

//书架
export function shelf(params) {
    return request({
        url: "shelf/detail.json",
        methods: "get",
        params
    })
}


//获取书名
export function booksname(params) {
    return request({
        url: "book/info.json",
        methods: "get",
        params
    })
}
//获取书籍信息
export function book(params) {
    return request({
        url: "book/getsub.json",
        methods: "get",
        params
    })
}
//章节列表
export function articlelist(params) {
    return request({
        url: "reader/book/info.json",
        methods: "get",
        params
    })
}

//章节详情
export function articlecontent(params) {
    return request({
        url: "reader/book/content.json",
        methods: "get",
        params
    })
}